<page-header  [title]="'【'+entity.name+'】的业务数据明细'"></page-header>
<nz-card>
  <nz-tabset>
    <nz-tab [nzTitle]="'奖金明细'">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <app-fans-redpack *ngIf="!isLoading" [customer]="entity"></app-fans-redpack>
    </nz-tab>
    <nz-tab [nzTitle]="'积分明细'">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <app-fans-integral *ngIf="!isLoading" [entity]="entity"></app-fans-integral>
    </nz-tab>
    <nz-tab [nzTitle]="'业绩明细'">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <app-fans-team-sales *ngIf="!isLoading" [openId]="entity.openId"></app-fans-team-sales>
    </nz-tab>
    <nz-tab [nzTitle]="'收益明细'">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <app-fans-profits *ngIf="!isLoading" [type]="1" [entityId]="entity.id"></app-fans-profits>
    </nz-tab>
    <nz-tab nzTitle="发放器奖金">
      <nz-spin *ngIf="isLoading" class="modal-spin"></nz-spin>
      <app-trigger-record-list *ngIf="!isLoading" [customerId]="entity.id"></app-trigger-record-list>
    </nz-tab>
  </nz-tabset>
</nz-card>
